<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"/>
<%@taglib  prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:forEach items="${yiChangList }" var="u" varStatus="index">
<tr>
	<td>${index.count }</td>
	<td>${u.ziChanBH }</td>
	<td>${u.wuZiLB.leibieMC }</td>
	<td>${u.wuZiMC }</td>
	<td>${u.guiGeXH }</td>
	<td>${u.chanPinXLH }</td>
	<td>${u.dep.depName }</td>								
	<td>${u.user.name }</td>
	<td>
		<c:choose>
			<c:when test="${u.wuZiLX==1 }">
				固定资产
			</c:when>
			<c:when test="${u.wuZiLX==2 }">
				低值易耗品
			</c:when>
		</c:choose>
	</td>
	<td>
		<c:choose>
			<c:when test="${u.panDian==0 }">盘点正常</c:when>
			<c:when test="${u.panDian==1 }">盘点中</c:when>
			<c:when test="${u.panDian==2 }">盘点丢失</c:when>
			<c:when test="${u.panDian==3 }">补办移交</c:when>
			<c:when test="${u.panDian==4 }">实物盘点</c:when>
			<c:when test="${u.panDian==5 }">盘点报废</c:when>
			<c:when test="${u.panDian==8 }">盘点终止</c:when>
		</c:choose>
	</td>
	<td><fmt:formatDate value="${u.panDianRQ }" pattern="yyyy-MM-dd"/></td>
	<td>
		<a class="btn default btn-xs green-stripe" href="${ctx }/wuzi/wuZiDetail.do?id=${u.id}" target="_blank">物资详情</a>
		<c:if test="${u.panDian!=1 }">
			&nbsp;&nbsp;<a class="btn default btn-xs green-stripe" href="javascript:danDuPanDian('${u.id }')">发起盘点</a>
		</c:if>
	</td>
</tr>
</c:forEach>